home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1998 June / Software of the Month Club 1998 June.iso / pc / dos / sri / dtp / moray / povscn / prevuscn.pov
Text File  |  1998-04-15  |  3KB  |  117 lines

  1. //
  2. // Base scene for Preview
  3. // Moray V2.5 (c) SoftTronics, '96
  4. //
  5. // Avoid adding any include files to this scene. The rendering of
  6. // this file must fly!
  7. //
  8.  
  9.     camera {  //  Camera PreviewCam
  10.       location  <0.00, -8.500, 3>
  11.       direction <0.0,     0.0,  3.00>
  12.       sky       <0.0,     0.0,  1.0>  // Use right handed-system!
  13.       up        <0.0,     0.0,  1.0>  // Where Z is up
  14.       right     <1.3333,  0.0,  0.0>
  15.       look_at   <0.000, -0.100, 0.000>
  16.     }
  17.  
  18.     // *******  L I G H T S *******
  19.     light_source {   // Light1
  20.       <5.820, -8.500, 6.316>
  21.       color rgb <1.000, 1.000, 1.000>
  22.     }
  23.  
  24.     light_source {   // Light1
  25.       <5.820, -1.500, 3>
  26.       color rgb <0.400, 0.400, 0.400>
  27.     }
  28.  
  29.     #declare FloorTxtr = texture {
  30.       pigment {
  31.         checker
  32.           color rgb < 1.00,  1.00,  1.00>
  33.           color rgb < 0.10,  0.10,  0.10>
  34.         scale 0.45
  35.       }
  36.       finish {
  37.         ambient   0.25
  38.         diffuse   0.80
  39.       }
  40.     }
  41.     #declare BackdropTxtr = texture {
  42.       pigment {
  43.         checker
  44.           color rgb < 1.00,  1.00,  1.00>
  45.           color rgb < 0.100,  0.100,  0.100>
  46.           scale <1000, 0.2, 0.2>
  47.           translate x*500
  48.       }
  49.       finish {
  50.         ambient   0.25
  51.         diffuse   0.80
  52.       }
  53.     }
  54.  
  55.     // ********  O B J E C T S *******
  56.  
  57.     #declare Floor = object {
  58.       disc { <0,0,-1> z, 50 }
  59.       texture { FloorTxtr }
  60.     }
  61.  
  62.     #declare BackDrop = object {
  63.       disc { <0,2.5,0> y, 50 }
  64.       texture { BackdropTxtr }
  65.     }
  66.  
  67.     #declare PreviewStone = object {
  68.       merge {
  69.         object { box    { <-1,-1,-1>, <1,1,1>} }
  70.         object { sphere { <0,0,1.75>,1 } }
  71.         texture {
  72.           PreviewTexture
  73.         }
  74.         scale 0.6
  75.         translate -0.399*z
  76.         rotate z*60
  77.       }
  78.     }
  79.  
  80.     #declare PreviewSphere = object {
  81.       sphere {<0,0,0>,1}
  82.       texture {
  83.         PreviewTexture
  84.       }
  85.     }
  86.  
  87.     #declare PreviewCube = object {
  88.       box { <-1,-1,-1>,<1,1,1>}
  89.       texture {
  90.         PreviewTexture
  91.       }
  92.       rotate z*60
  93.     }
  94.  
  95.     #declare PreviewPlane = object {
  96.       plane { z,0 }
  97.       texture {
  98.         PreviewTexture
  99.       }
  100.     }
  101.  
  102.     #declare PreviewDisc = object {
  103.       disc { <0,0,0>, z , 1.0 }
  104.       texture {
  105.         PreviewTexture
  106.       }
  107.       scale 1.5
  108.     }
  109.  
  110.     #declare PreviewCylinder = object {
  111.       cylinder { <0,0,-1>, <0,0,1>, 1 }
  112.       texture {
  113.         PreviewTexture
  114.       }
  115.     }
  116.  
  117.